/**
 * 
 */
package org.cuatrovientos.vehicle;

/**
 * Main class
 * @author Isma
 *
 */
public class Main {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		Circuit oneCircuit = new Circuit("Los Arcos",500);
		Race oneRace = new Race("Death Race", oneCircuit);
		Car oneCar = new Car("Santa Claus", "RE-666-N0");
		Car twoCar = new Car("Frodo", "A-045-GUILA");
		Car threeCar = new Car("Kaleshi","DRAG-000-N");
		
		oneRace.addCar(oneCar);
        oneRace.addCar(twoCar);
        oneRace.addCar(threeCar);

        System.out.println("The winner in " + oneRace.getName() + " " + oneCircuit.getName() +  " is :" + oneRace.run().name);
	}

}
